home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindlink.net!news
- From: genew@mindlink.bc.ca (Gene Wirchenko)
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: Re: Young programmers read me.
- Date: Thu, 18 Apr 1996 05:57:45 GMT
- Organization: MIND LINK! - British Columbia, Canada
- Message-ID: <4l4ls3$coh@fountain.mindlink.net>
- References: <4icpp9$7hr@barad-dur.nas.com> <4keejc$lpi@tpd.dsccc.com> <Pine.OSF.3.91.960411093444.20958D-100000@bud.cc.swin.edu.au> <4kmfqn$e0f@airdmhor.gen.nz> <4kubt3$2jk@plains.nodak.edu> <4l0c8p$rvp@fountain.mindlink.net> <4l1dn6$j3@belle.bork.com>
- NNTP-Posting-Host: line292.nwm.mindlink.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- scottr@belle.bork.com (Randy Scott) wrote:
-
- >Gene Wirchenko (genew@mindlink.bc.ca) wrote:
- >: >Try this:
- >: > if(something_happened) do_something_else();
- >:
- >: Not as clear as it should be by my standards. YMMV.
-
- >NOT CLEAR? Hello? That piece of code is just about as clear as it
- >gets!
-
- Not clear. Two different block levels on the same line. I don't
- like it. Exceptions to block structure are rarely needed.
-
- >: >or this:
- >: > if(something_happened)
- >: > { do_something_else(); }
- >:
- >: Extraneous braces cause pause.
-
- >I would have to agree, use braces only when absolutely necessary.
-
-
- >Randy Scott
-
- Sincerely,
-
- Gene Wirchenko
-
- C Pronunciation Guide:
- y=x++; "wye equals ex plus plus semicolon"
- x=x++; "ex equals ex doublecross semicolon"
-
-